package com.vates.example.spring.hello.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.vates.example.spring.hello.Message;
import com.vates.example.spring.hello.MessagingService;

public class MessagingServiceImpl implements MessagingService {
	
	@Autowired
	Message mensaje;

	@Override
	public String sayMessage(String name) {
		return mensaje.getMsg() + name;
	}

}
